/*
 * Copyright (c) 2011. This file is public under GPLv3 license.
 * For more information about license please refer to http://www.gnu.org/licenses/gpl.html
 */

package com.freetools.watchdog.model;

import java.io.Writer;
import java.util.Collection;
import java.util.List;

/**
 * Date: Feb 15, 2011
 *
 * @author Michael Morozov
 */
public interface IModelHolder
{
    String getDBFile();

    void setDBFile(String dbFile);

    String getParsePattern();

    void setParsePattern(String parsePattern);

    Writer getSpool();

    void setSpool(Writer writer);

    IRecordFormatter getRecordFormatter();

    void setRecordFormatter(IRecordFormatter formatter);

    Collection<IRecord> getRecords();

    List<ISource> getSources();

    List<IColumn> getColumns();

    List<ICommand> getCommands();

    List<IPiece> getReadPieces();

    String getQuery();

    void setQuery(String query);
}
